package com.mandala.attributeMapper;

import javax.naming.NamingException;
import javax.naming.directory.Attributes;

import org.springframework.ldap.core.AttributesMapper;

import com.mandala.entry.Permission;

public class PermissionAttributeMapper implements AttributesMapper{

	@Override
	public Object mapFromAttributes(Attributes attr) throws NamingException {
		Permission permission = new Permission();
		//permission.setOu((String)attr.get("ou").get());
		
		return permission;
	}

}
